/*
 Authors: ZhangXuelian
 	
 
 Changes: Long Yucheng
 	
	
*/

#ifndef _COE_LIB_IM_H_
#define _COE_LIB_IM_H_

#ifdef __cplusplus
extern "C"
{
#endif

extern THREAD_CONTEXT g_im_thread_context;
bool create_im_thread();
#define end_im_thread() end_thread(g_im_thread_context);
#define is_im_thread_quited() is_thread_quited(g_im_thread_context);
bool is_im_thread_alive();

#ifdef __cplusplus
}
#endif
#endif
